
const express = require('express')
const app = express()

const mv = function (req, res, next) {
    console.log('砂暴送葬')
    next()
}

app.get('/', mv, (req, res) => {
    res.send('home page')
    next()
})

app.get('/user', (req, res) => {
    res.send('user hmoe')
})

app.listen(8083, () => {
    console.log('http://127.0.0.1:8083');
})